package top.kaoshanji.p2ch22b;

/**
 * 代码清单-p2ch22b-574页b：使用DI容器类
 * author kaoshanji
 * ^_^
 * create time 2025/3/1 18:43
 */
public class SimpleContainerDemo {

    public static void main(String[] args) {

        SimpleContainer container = new SimpleContainer();

        ServiceA a = container.getInstance(ServiceA.class);
        a.callB();

    }

}
